﻿using SqlSugar;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GetWebsite
{
    [SugarTable("CnBlogInfo")]
    public partial class CnBlogInfo
    {
        public CnBlogInfo()
        {
        }

        /// <summary>
        /// 所属网站(CN,CSDN...)
        /// </summary>
        public string WebsiteName { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 博文url
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Url { get; set; }
        /// <summary>
        /// 当前博客 唯一的ID
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 摘要
        /// </summary>
        public string Summary { get; set; }
        /// <summary>
        /// 作者
        /// </summary>
        public string Author { get; set; }
        /// <summary>
        /// 发布时间
        /// </summary>
        public string PublishTime { get; set; }
        /// <summary>
        /// 网站所有内容
        /// </summary>
        public string AllContent { get; set; }
        /// <summary>
        /// 是否已经发送到邮箱,0 未发送,1 已发送
        /// </summary>
        public int IsSendToEmail { get; set; }
        /// <summary>
        /// 是否已经下载图片,0:未下载,1:已下载  
        /// </summary>
        public int IsDLImage { get; set; } = 0;
        /// <summary>
        /// 保存时间
        /// </summary>
        public string SavedTime { get; set; }
        /// <summary>
        /// 上一次更新时间
        /// </summary>
        public string LastUpdateTime { get; set; }
    }
}
